﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace In.Api.Dto.HisWs
{
    public class Response4GetDeptInfo
    {
        /// <summary>
        /// 结果代码 0- 成功,其他值为失败
        /// </summary>
        public string ResultCode { get; set; }

        /// <summary>
        /// 结果描述 成功为空，失败时返回描述
        /// </summary>
        public string ResultDesc { get; set; }

        /// <summary>
        /// 科室信息的集合
        /// </summary>
        public List<Response4GetDeptInfoSubDeptInfo> DeptList { get; set; }
    }

    public class Response4GetDeptInfoSubDeptInfo
    {
        /// <summary>
        /// 科室代码
        /// </summary>
        public string DeptId { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 科室类型
        /// </summary>
        public string DeptType { get; set; }

        /// <summary>
        /// 科室所在位置
        /// </summary>
        public string Loc { get; set; }

        /// <summary>
        /// 上级科室代码,没有填-1
        /// </summary>
        public string ParentId { get; set; }

        /// <summary>
        /// 科室简介
        /// </summary>
        public string Desc { get; set; }
    }
}
